package com.yuanchu.media.dto;

import com.yuanchu.common.validator.ValidationGroups;
import com.yuanchu.media.entity.YoshopUploadFileEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-26 16:30
 */
@Data
public class EditFileParamsDto implements Serializable {

    @NotNull(message = "文件id不能为空", groups = {ValidationGroups.Update.class})
    private Integer fileId;

    private YoshopUploadFileEntity form;

}
